#!/usr/bin/env bash

./test_ov_2 -m=0 -f=865001100010001000100000 -e=a2ff2aa5dea32bce83a828bde0e91b03 -s=10.196.76.26:443 -n=100 -c=50000000 -sleepInterval=10000 -t=9999 -hb=9999 -pos=100000000000


tail -f ac-julink.WARNING | grep RECORD > aaa
cat aaa | awk -F ' ' '{print $2,$3}' | awk -F '.' '{print $1}' | sort | uniq -c

cat aaa | grep "RECORD:101" | tail -n 100

cat aaa | grep "RECORD:101" | awk -F ' ' '{print $2,$3}' | awk -F '.' '{print $1}' | sort | uniq -c
cat aaa | grep "RECORD:102" | awk -F ' ' '{print $2,$3}' | awk -F '.' '{print $1}' | sort | uniq -c
cat aaa | grep "RECORD:103" | awk -F ' ' '{print $2,$3}' | awk -F '.' '{print $1}' | sort | uniq -c


cp analysis analysis2
cat analysis2 | awk -F ' ' '{print $1,$2}' | awk -F ',' '{print $1}' | sort | uniq -c

cat analysis2 | grep -i wifiOnline | awk -F ' ' '{print $1,$2}' | awk -F ',' '{print $1}' | sort | uniq -c
cat analysis2 | grep -i certify | awk -F ' ' '{print $1,$2}' | awk -F ',' '{print $1}' | sort | uniq -c
cat analysis2 | grep -i verify | awk -F ' ' '{print $1,$2}' | awk -F ',' '{print $1}' | sort | uniq -c
